<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class SendOrderPattern extends Model
{

    use SoftDeletes;

    protected $table = 'send_order_pattern';

    const DISTANCE_UNIT = 'km'; //距离单位

    const LEVEL_NOTE = [
        1 => '第一轮',
        2 => '第二轮',
        3 => '第三轮',
    ];



    public function service()
    {
        return $this->belongsTo(Service::class);
    }
}
